package com.hopedove.yieldmanage.domain.net;

import com.hopedove.net.domain.JsonParamRequest;

public class SelectDict extends JsonParamRequest {
    /**
     * 其他原因
     **/
    public final static String REASONS = "266";
    /**
     * 车间
     **/
    public final static String BMMC = "267";

    public static SelectDict newOtherReasons() {
        return new SelectDict(REASONS);
    }

    public static SelectDict newWorkshop() {
        return new SelectDict(BMMC);
    }

    public SelectDict(String tableNo) {
        putParam("TABLE_NO", tableNo);
    }

    @Override
    protected String getMethod() {
        return "selectDict";
    }
}
